import request from 'umi-request';

export async function getFundsBatchGroupList(id) {
  return request('/hr-ssc/api/api-admin/security/getFundsBatchGroupList', {
    method: 'post',
    data: {id},
    requestType: 'form'
  }).then((res) => {
    if (res.flag) {
      return res.data;
    } else {
      return [];
    }
  });
}
